package com.example.day27_camera2h265;

import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {
    CameraSurfaceView csvPlayer;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        csvPlayer = findViewById(R.id.csv_player);
    }

    public void capture(View view) {
        csvPlayer.startCaptrue();
    }
}
